type net/http.readTrackingBody
11 uses
net/http (current package)
transfer.go#L428: if r, ok := t.Body.(*readTrackingBody); ok {
transfer.go#L1105: if r, ok := r.(*readTrackingBody); ok {
transport.go#L625: if b, ok := req.Body.(*readTrackingBody); ok && !b.didClose {
transport.go#L645: type readTrackingBody struct {
transport.go#L651: func (r *readTrackingBody) Read(data []byte) (int, error) {
transport.go#L656: func (r *readTrackingBody) Close() error {
transport.go#L670: newReq.Body = &readTrackingBody{ReadCloser: req.Body}
transport.go#L679: if req.Body == nil || req.Body == NoBody || (!req.Body.(*readTrackingBody).didRead && !req.Body.(*readTrackingBody).didClose) {
transport.go#L682: if !req.Body.(*readTrackingBody).didClose {
transport.go#L693: newReq.Body = &readTrackingBody{ReadCloser: body}
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |